home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / etc / dbus-1 / system.d / org.freedesktop.SystemToolsBackends.conf < prev    next >
Text File  |  2009-10-20  |  4KB  |  64 lines

  1. <!DOCTYPE busconfig PUBLIC
  2.  "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
  3.  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
  4. <busconfig>
  5.   <policy context="default">
  6.     <!-- Do not allow owning this name to regular users -->
  7.     <deny own="org.freedesktop.SystemToolsBackends"/>
  8.  
  9.     <!-- Uncomment this if you want to test configuration modules with a harmless user -->
  10.     <!--
  11.     <allow own="org.freedesktop.SystemToolsBackends.GroupsConfig"/>
  12.     <allow own="org.freedesktop.SystemToolsBackends.HostsConfig"/>
  13.     <allow own="org.freedesktop.SystemToolsBackends.IfacesConfig"/>
  14.     <allow own="org.freedesktop.SystemToolsBackends.NFSConfig"/>
  15.     <allow own="org.freedesktop.SystemToolsBackends.NTPConfig"/>
  16.     <allow own="org.freedesktop.SystemToolsBackends.ServicesConfig"/>
  17.     <allow own="org.freedesktop.SystemToolsBackends.SMBConfig"/>
  18.     <allow own="org.freedesktop.SystemToolsBackends.TimeConfig"/>
  19.     <allow own="org.freedesktop.SystemToolsBackends.UserConfig"/>
  20.     <allow own="org.freedesktop.SystemToolsBackends.UsersConfig"/>
  21.     <allow own="org.freedesktop.SystemToolsBackends.Platform"/>
  22.     <allow send_interface="org.freedesktop.SystemToolsBackends.Platform" send_member="getPlatform"/>
  23.     -->
  24.  
  25.     <!-- Only allow talking to the dispatcher -->
  26.     <allow send_destination="org.freedesktop.SystemToolsBackends"/>
  27.   </policy>
  28.  
  29.   <policy user="0">
  30.     <!-- only root is allowed to run the dispatcher -->
  31.     <allow own="org.freedesktop.SystemToolsBackends"/>
  32.  
  33.     <!-- also allow it to own the configuration modules -->
  34.     <allow own="org.freedesktop.SystemToolsBackends.GroupsConfig"/>
  35.     <allow own="org.freedesktop.SystemToolsBackends.HostsConfig"/>
  36.     <allow own="org.freedesktop.SystemToolsBackends.IfacesConfig"/>
  37.     <allow own="org.freedesktop.SystemToolsBackends.NFSConfig"/>
  38.     <allow own="org.freedesktop.SystemToolsBackends.NTPConfig"/>
  39.     <allow own="org.freedesktop.SystemToolsBackends.ServicesConfig"/>
  40.     <allow own="org.freedesktop.SystemToolsBackends.SMBConfig"/>
  41.     <allow own="org.freedesktop.SystemToolsBackends.TimeConfig"/>
  42.     <allow own="org.freedesktop.SystemToolsBackends.UserConfig"/>
  43.     <allow own="org.freedesktop.SystemToolsBackends.UsersConfig"/>
  44.     <allow own="org.freedesktop.SystemToolsBackends.Platform"/>
  45.  
  46.     <!-- be able to speak to configuration modules,
  47.          so any message to them has to go through the dispatcher -->
  48.     <allow send_interface="org.freedesktop.SystemToolsBackends"/>
  49.     <allow send_interface="org.freedesktop.SystemToolsBackends.Platform"/>
  50.     <allow send_destination="org.freedesktop.SystemToolsBackends"/>
  51.     <allow send_destination="org.freedesktop.SystemToolsBackends.Platform"/>
  52.     <allow send_destination="org.freedesktop.SystemToolsBackends.GroupsConfig"/>
  53.     <allow send_destination="org.freedesktop.SystemToolsBackends.HostsConfig"/>
  54.     <allow send_destination="org.freedesktop.SystemToolsBackends.IfacesConfig"/>
  55.     <allow send_destination="org.freedesktop.SystemToolsBackends.NFSConfig"/>
  56.     <allow send_destination="org.freedesktop.SystemToolsBackends.NTPConfig"/>
  57.     <allow send_destination="org.freedesktop.SystemToolsBackends.ServicesConfig"/>
  58.     <allow send_destination="org.freedesktop.SystemToolsBackends.SMBConfig"/>
  59.     <allow send_destination="org.freedesktop.SystemToolsBackends.TimeConfig"/>
  60.     <allow send_destination="org.freedesktop.SystemToolsBackends.UserConfig"/>
  61.     <allow send_destination="org.freedesktop.SystemToolsBackends.UsersConfig"/>
  62.   </policy>
  63. </busconfig>
  64.